package com.qms.repast.net;

import android.content.Context;
import android.widget.ImageView;

import com.qms.repast.R;
import com.qms.repast.commons.GlideApp;
import com.youth.banner.loader.ImageLoader;

/**
 * @author 泅渡者
 * @date 2018/7/19 0019
 * @describe:
 */
public class GlideImageLoader extends ImageLoader {
	@Override
	public void displayImage (Context c, Object path, ImageView imageView) {

		GlideApp.with(c)
				.load(path)
				.placeholder(R.mipmap.default_pic)
				.fitCenter()
				.into(imageView);


	}
}